<div class="form_bg"><h2>Edit a question !</h2>
<div class="form-errors"><?php if(!empty($this->errors))foreach($this->errors as $err) echo '<p>'.$err.'</p>'?></div>
<?php echo $this->form; ?></div>
<?php $this->headScript()->appendScript('$(document).ready(function(){
if(!$(".form-errors").is(":empty")){
	$(".form-errors").toggle();
}
});');?>